package com.housediyadmin.events.brandEvents
{
	import com.housediyadmin.vo.Brand;
	
	import flash.events.Event;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2010/12/15
	 */	
	public class EditBrandEvent extends Event
	{
		public static const EDIT_BRAND:String = "editBrand";
		
		public var brand:Brand;
		
		/**
		 * 修改一个Brand，传入参数为一个Brand对象，此Brand对象包含它的ID
		 * 所有参数为必选参数
		 * @param type
		 * @param brand:Brand
		 * 
		 */		
		public function EditBrandEvent(type:String, brand:Brand)
		{
			super(type);
			this.brand = brand;
		}
		
		override public function clone():Event
		{
			return new EditBrandEvent(type, brand);
		}
	}
}